package com.sxbbc.common.core.service.system.pay.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.sxbbc.common.core.entity.jz.OrderSeckillConfig;

/**
 * 结算详细信息表
 * @author arno
 *
 */
public class SettleDetailDto implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4527139127211691557L;

	/**
	 * 产品id
	 */
	private Integer pid;
	
	/**
	 * 产品编号
	 */
	private String procode;
	
	/**
	 * 产品编号
	 */
	private String pname;
	
	/**
	 * 规格详情id
	 */
	private Integer skuid;
	
	/**
	 * 规格名称
	 */
	private String skuname;
	
	/**
	 * 出售价 普通产品未产品价格，团购为团购价，秒杀为秒杀价
	 */
	private BigDecimal price;
	
	/**
	 * 本次积分
	 */
	private BigDecimal point;
	
	/**
	 * 商品主图
	 */
	private String purl;
	
	/**
	 * 单位
	 */
	private String unit;
	
	/**
	 * 数量
	 */
	private Integer qty;
	
	/**
	 * 总重量
	 */
	private BigDecimal weight=BigDecimal.ZERO;
	
	/**
	 * 标签
	 */
	private String label;
	
	/**
	 * 运费模板编号
	 */
	private Integer expid;
	
	/**
	 * 计价方式 1按数量 2按重量
	 */
	private Integer valuationType;
	
	/**
	 * 按重量计价时，每个数量1表示多少重量单位
	 */
	private BigDecimal weightUnit;
	
	/**
	 * 货物金额
	 */
	private BigDecimal goodmoney;
	
	/**
	 * 折扣金额=会员等级折扣+商品折扣
	 */
	private BigDecimal discountMoney=BigDecimal.ZERO;
	
	/**
	 * 优惠券金额
	 */
	private BigDecimal couponMoney=BigDecimal.ZERO;
	
	/**
	 * 其他优惠金额
	 */
	private BigDecimal otherMoney=BigDecimal.ZERO;
	
	/**
	 * 商品活动标记 见ActivitySignEnums
	 */
	private String activitySign;
	
	/**
	 * 拼团人数
	 */
	private Integer groupNum;
	
	/**
	 * 拼团时间
	 */
	private Integer groupTime;
	
	/**
	 * 拼团结束时间
	 */
	private Date overTime;
	
	/**
	 * 产品类型
	 */
	private Integer proType;
	
	/**
	 * 成本价
	 */
	private BigDecimal costPrice;
	
	/**
	 * 是否允许退款
	 */
	private Integer refundFlag;
	
	/**
	 * 秒杀附属表
	 */
	private OrderSeckillConfig orderSeckillConfig;
	

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getProcode() {
		return procode;
	}

	public void setProcode(String procode) {
		this.procode = procode;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public Integer getSkuid() {
		return skuid;
	}

	public void setSkuid(Integer skuid) {
		this.skuid = skuid;
	}

	public String getSkuname() {
		return skuname;
	}

	public void setSkuname(String skuname) {
		this.skuname = skuname;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getQty() {
		return qty;
	}

	public void setQty(Integer qty) {
		this.qty = qty;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public Integer getExpid() {
		return expid;
	}

	public void setExpid(Integer expid) {
		this.expid = expid;
	}

	public Integer getValuationType() {
		return valuationType;
	}

	public void setValuationType(Integer valuationType) {
		this.valuationType = valuationType;
	}

	public BigDecimal getWeightUnit() {
		return weightUnit;
	}

	public void setWeightUnit(BigDecimal weightUnit) {
		this.weightUnit = weightUnit;
	}

	public BigDecimal getWeight() {
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	public BigDecimal getGoodmoney() {
		return goodmoney;
	}

	public void setGoodmoney(BigDecimal goodmoney) {
		this.goodmoney = goodmoney;
	}

	public BigDecimal getDiscountMoney() {
		return discountMoney;
	}

	public void setDiscountMoney(BigDecimal discountMoney) {
		this.discountMoney = discountMoney;
	}

	public BigDecimal getCouponMoney() {
		return couponMoney;
	}

	public void setCouponMoney(BigDecimal couponMoney) {
		this.couponMoney = couponMoney;
	}

	public BigDecimal getOtherMoney() {
		return otherMoney;
	}

	public void setOtherMoney(BigDecimal otherMoney) {
		this.otherMoney = otherMoney;
	}

	public String getPurl() {
		return purl;
	}

	public void setPurl(String purl) {
		this.purl = purl;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getActivitySign() {
		return activitySign;
	}

	public void setActivitySign(String activitySign) {
		this.activitySign = activitySign;
	}

	public OrderSeckillConfig getOrderSeckillConfig() {
		return orderSeckillConfig;
	}

	public void setOrderSeckillConfig(OrderSeckillConfig orderSeckillConfig) {
		this.orderSeckillConfig = orderSeckillConfig;
	}

	public Integer getGroupNum() {
		return groupNum;
	}

	public void setGroupNum(Integer groupNum) {
		this.groupNum = groupNum;
	}

	public Integer getGroupTime() {
		return groupTime;
	}

	public void setGroupTime(Integer groupTime) {
		this.groupTime = groupTime;
	}

	public Date getOverTime() {
		return overTime;
	}

	public void setOverTime(Date overTime) {
		this.overTime = overTime;
	}

	public Integer getProType() {
		return proType;
	}

	public void setProType(Integer proType) {
		this.proType = proType;
	}

	public BigDecimal getCostPrice() {
		return costPrice;
	}

	public void setCostPrice(BigDecimal costPrice) {
		this.costPrice = costPrice;
	}

	public Integer getRefundFlag() {
		return refundFlag;
	}

	public void setRefundFlag(Integer refundFlag) {
		this.refundFlag = refundFlag;
	}

	public BigDecimal getPoint() {
		return point;
	}

	public void setPoint(BigDecimal point) {
		this.point = point;
	}
	
	
}
